#if !defined(PACKET) || !defined(INTEGER) || !defined(STRING)
#error Not all necessary macros were defined.
#endif

PACKET(Auth,
        STRING(username)
        STRING(password)
)

PACKET(Ack,
        INTEGER(status)
        STRING(error_text)
)

#undef PACKET
#undef INTEGER
#undef STRING